<?php
/**
 * Created by allen.qiang.
 * Date: 2015/12/8
 * Time: 15:16
 * 会员接口文件
 */

class app_customer {
    public function execute() {

        if (isset($_REQUEST['operFlg']) && !empty($_REQUEST['operFlg'])) {

            switch($_REQUEST['operFlg']) {

                case '1': //测试
                    $this->abc();
                    break;

                default:
                    returnJsonData('参数错误');
                    break;

            }

        } else {

            returnJsonData('参数错误');

        }

    }

    private function abc(){
        returnJsonData('测试11',200);
    }
}
